<?php exit("breakcms"); ?>
{include file="public/not_index_header.php"}
{if $_POST['action']=='from'}
<div class="showinfo">
    {$COLLECTION_DESC}
</div>


<form action="" method="post" id="brk_form" enctype="application/x-www-form-urlencoded" target="">
    <div class="showtable2_head">
        <div class="title2">资料编辑</div>
        <div>&nbsp;&nbsp;&nbsp;&nbsp;<input value="保存" type="submit" class="button"/>&nbsp;<input value="重置"   type="reset" class="button"/></div>
    </div>

    <div class="showContent">

        <div class="contentform">
            {foreach from=$FIELDS}
            <div class="content_group_row">
                {foreach from=$item item=onefield}
                {$onefield}
                {/foreach}
            </div>
            <br/>

            {/foreach}
        </div>
    </div>



    <div class="showbutton_right">
        <input value="保存" type="submit" class="button"/>&nbsp;&nbsp;&nbsp;&nbsp;<input value="重置"   type="reset" class="button"/><input value="update" name="postaction" id='brk_foem_action' type="hidden" />
    </div>
</form>
{include file="public/not_index_footer.php"}
{elseif $_POST['action']=='update' || $_POST['action']=='error'}
{include file="public/message.php"}
{include file="public/not_index_footer.php"}
{/if}

